package com.dgz.friend.service.exam;

import com.dgz.common.core.domain.R;
import com.dgz.common.core.domain.TableDataInfo;
import com.dgz.friend.domain.exam.dto.ExamQueryDto;
import com.dgz.friend.domain.exam.dto.ExamRankDTO;
import com.dgz.friend.domain.exam.vo.ExamVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: DongGuoZhen
 * @Date: 2025/05/07/14:03
 * @Description:
 */
@Service
public interface IExamService {

    List<ExamVO> list(ExamQueryDto examQueryDto);

    TableDataInfo redisList(ExamQueryDto examQueryDto);

    String getFirstQuestion(Long examId);

    String preQuestion(Long examId, Long questionId);

    String nextQuestion(Long examId, Long questionId);

    TableDataInfo rankList(ExamRankDTO examRankDTO);
}
